package com.canin.model;

import java.util.List;

import com.canin.util.CaninUtil;

public class OrderForm
{
	private List<Food> desireFoodList;
	private String dogName;
	private int dogWeight;
	private String dogAge;
	private String dogActivity;
	private Double calloriesPerDay;
	private int totalDays;
    private double tax;
    private double totalPriceBeforeTax;
	private double sumTotalPrice;

    private String currencyTax;
    private String currencyTotalPriceBeforeTax;
	private String currencySumTotalPrice;
	
	// Diet/Gain Weight
	private int idealWeight;
	private double minStandardWeight;
	private double maxStandardWeight;
	
	public List<Food> getDesireFoodList()
	{
		return desireFoodList;
	}
	public void setDesireFoodList(List<Food> desireFoodList)
	{
		this.desireFoodList = desireFoodList;
	}
	public String getDogName()
	{
		return dogName;
	}
	public void setDogName(String dogName)
	{
		this.dogName = dogName;
	}
	public int getDogWeight()
	{
		return dogWeight;
	}
	public void setDogWeight(int dogWeight)
	{
		this.dogWeight = dogWeight;
	}
	public String getDogAge()
	{
		return dogAge;
	}
	public void setDogAge(String dogAge)
	{
		this.dogAge = dogAge;
	}
	public String getDogActivity()
	{
		return dogActivity;
	}
	public void setDogActivity(String dogActivity)
	{
		this.dogActivity = dogActivity;
	}
	public Double getCalloriesPerDay()
	{
		return calloriesPerDay;
	}
	public void setCalloriesPerDay(Double calloriesPerDay)
	{
		this.calloriesPerDay = calloriesPerDay;
	}
	public int getTotalDays()
	{
		return totalDays;
	}
	public void setTotalDays(int totalDays)
	{
		this.totalDays = totalDays;
	}
	public int getIdealWeight()
	{
		return idealWeight;
	}
	public void setIdealWeight(int idealWeight)
	{
		this.idealWeight = idealWeight;
	}
	public double getMinStandardWeight()
	{
		return minStandardWeight;
	}
	public void setMinStandardWeight(double minStandardWeight)
	{
		this.minStandardWeight = minStandardWeight;
	}
	public double getMaxStandardWeight()
	{
		return maxStandardWeight;
	}
	public void setMaxStandardWeight(double maxStandardWeight)
	{
		this.maxStandardWeight = maxStandardWeight;
	}
	public double getSumTotalPrice()
	{
		return sumTotalPrice;
	}
	public void setSumTotalPrice(double sumTotalPrice)
	{
		setCurrencySumTotalPrice(CaninUtil.convertToConcurrency((int)sumTotalPrice, 2));
		this.sumTotalPrice = sumTotalPrice;
	}
	public double getTax()
	{
		return tax;
	}
	public void setTax(double tax)
	{
		setCurrencyTax( CaninUtil.convertToConcurrency((int)tax, 2) );
		this.tax = tax;
	}
	public double getTotalPriceBeforeTax()
	{
		return totalPriceBeforeTax;
	}
	public String getCurrencyTax()
	{
		return currencyTax;
	}
	public void setCurrencyTax(String currencyTax)
	{
		this.currencyTax = currencyTax;
	}
	public String getCurrencyTotalPriceBeforeTax()
	{
		return currencyTotalPriceBeforeTax;
	}
	public void setCurrencyTotalPriceBeforeTax(String currencyTotalPriceBeforeTax)
	{
		this.currencyTotalPriceBeforeTax = currencyTotalPriceBeforeTax;
	}
	public String getCurrencySumTotalPrice()
	{
		return currencySumTotalPrice;
	}
	public void setCurrencySumTotalPrice(String currencySumTotalPrice)
	{
		this.currencySumTotalPrice = currencySumTotalPrice;
	}
	public void setTotalPriceBeforeTax(double totalPriceBeforeTax)
	{
		setCurrencyTotalPriceBeforeTax( CaninUtil.convertToConcurrency((int)totalPriceBeforeTax, 2) );
		this.totalPriceBeforeTax = totalPriceBeforeTax;
	}

}
